var menu_vm = new Vue({
    el: '#menu_container',
    data: {
    	menuList:[],
    	menu_code:$("#menu_code").val(),
    	menu_pcode:$("#menu_pcode").val()
    },
    methods: {
        onload:function(){
        	this.getMenuList();
        },
   		getMenuList:function(){
        	axios.get('/usermenu').then(function (response) {
            	var data = response.data;
            	menu_vm.menuList = data.data;
            	console.log(data)
              }).catch(function (error) {
                console.log(error);
              });
   		}
    }
});
menu_vm.onload();